import request from '@/api/request'

export function getstudentList(params) {
  return request({
    url: '/admin/xy/student/list',
    method: 'get',
    params
  })
}

export function newAdd(params) {
  return request({
    url: '/admin/xy/student/save',
    method: 'post',
    params
  })
}

export function studentDetail(params) {
  return request({
    url: '/admin/xy/student/detail',
    method: 'get',
    params
  })
}

export function update(params) {
  return request({
    url: '/admin/xy/student/update',
    method: 'post',
    params
  })
}
export function del(params) {
  return request({
    url: '/admin/xy/student/del',
    method: 'get',
    params
  })
}

